package y24.m5.sql.data;


public class Student {

  private Integer id;
  private String name;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getAge() {
    return age;
  }

  public void setAge(Integer age) {
    this.age = age;
  }

  public Integer getSex() {
    return sex;
  }

  public void setSex(Integer sex) {
    this.sex = sex;
  }

  public String getBirth() {
    return birth;
  }

  public void setBirth(String birth) {
    this.birth = birth;
  }

  public String getNation() {
    return nation;
  }

  public void setNation(String nation) {
    this.nation = nation;
  }

  public String getNativePlace() {
    return nativePlace;
  }

  public void setNativePlace(String nativePlace) {
    this.nativePlace = nativePlace;
  }

  public String getIdCard() {
    return idCard;
  }

  public void setIdCard(String idCard) {
    this.idCard = idCard;
  }

  public String getHouse() {
    return house;
  }

  public void setHouse(String house) {
    this.house = house;
  }

  public Integer getMajorId() {
    return majorId;
  }

  public void setMajorId(Integer majorId) {
    this.majorId = majorId;
  }

  @Override
  public String toString() {
    return "Student{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", age=" + age +
            ", sex=" + sex +
            ", birth='" + birth + '\'' +
            ", nation='" + nation + '\'' +
            ", nativePlace='" + nativePlace + '\'' +
            ", idCard='" + idCard + '\'' +
            ", house='" + house + '\'' +
            ", majorId=" + majorId +
            '}' + '\n';
  }

  private Integer age;
  private Integer sex;
  private String birth;
  private String nation;
  private String nativePlace;
  private String idCard;
  private String house;
  private Integer majorId;
}
